package com.qtt.app.entity;

import java.util.Date;

public class Comment {
    private Integer id;

    private String courseId;

    private Long userId;

    private Integer status;

    private Date time;

    private String content;

    public Comment(Integer id, String courseId, Long userId, Integer status, Date time) {
        this.id = id;
        this.courseId = courseId;
        this.userId = userId;
        this.status = status;
        this.time = time;
    }

    public Comment(Integer id, String courseId, Long userId, Integer status, Date time, String content) {
        this.id = id;
        this.courseId = courseId;
        this.userId = userId;
        this.status = status;
        this.time = time;
        this.content = content;
    }

    public Comment() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCourseId() {
        return courseId;
    }

    public void setCourseId(String courseId) {
        this.courseId = courseId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}